package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 资讯类型
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_news_type")
public class FlowNewsType implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "news_type_id", type = IdType.AUTO)
    private Long newsTypeId;

    @TableField("news_type_name")
    private String newsTypeName;

    @TableField("orders")
    private Integer orders;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;


    public Long getNewsTypeId() {
        return newsTypeId;
    }

    public void setNewsTypeId(Long newsTypeId) {
        this.newsTypeId = newsTypeId;
    }

    public String getNewsTypeName() {
        return newsTypeName;
    }

    public void setNewsTypeName(String newsTypeName) {
        this.newsTypeName = newsTypeName;
    }

    public Integer getOrders() {
        return orders;
    }

    public void setOrders(Integer orders) {
        this.orders = orders;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "FlowNewsType{" +
        "newsTypeId=" + newsTypeId +
        ", newsTypeName=" + newsTypeName +
        ", orders=" + orders +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
